package indi.jp.project.business.yunying.entity;

import indi.jp.project.core.entity.BaseEntity;
import indi.jp.project.core.entity.po.AttachmentPO;
import indi.jp.project.process.entity.FlowTask;

import java.util.List;

public class ContractFiled extends BaseEntity {
    /**
     * 主键
     */
    private String id;
    /**
     * 项目编号
     */
    private String projectCode;
    /**
     * 项目名称
     */
    private String projectName;
    /**
     * 合同编号
     */
    private String contractNo;
    /**
     * 合同名称
     */
    private String contractName;
    /**
     * 签约方名称
     */
    private String signerName;
    /**
     * 承担部门
     */
    private String departmentName;
    /**
     * 主办部门
     */
    private String organizeDepartment;
    /**
     * 办事处
     */
    private String branchOffice;
    /**
     * 款项类型（0:总价、1:开口、2:结算单、3:投标补偿金、4:代收代付）
     */
    private Integer paymentsType;
    /**
     * 合同类型（0:工程咨询、1:工程施工、2:材料销售、99:其他）
     */
    private Integer contractType;
    /**
     * 集团领导
     */
    private String groupLeader;
    /**
     * 合同净额
     */
    private Long contractNetFee;
    /**
     * 当前处理人，结束后存储为空字符串
     */
    private String currentHandler;
    /**
     * 流程类型编码
     */
    private String flowTypeCode;

    /**
     * 流程状态，以0为起点
     */
    private Integer state;

    /**
     * 状态名称
     */
    private String stateName;

    /**
     * 处理人
     */
    private String handler;

    /**
     * 处理人名称
     */
    private String handlerName;
    /**
     * 是否允许撤回
     */
    private Integer allowRevoke;
    /**
     * 被驳回时状态
     */
    private Integer rejectedState;

    private List<AttachmentPO> attachments;

    private List<FlowTask> flowList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getSignerName() {
        return signerName;
    }

    public void setSignerName(String signerName) {
        this.signerName = signerName;
    }

    public String getOrganizeDepartment() {
        return organizeDepartment;
    }

    public void setOrganizeDepartment(String organizeDepartment) {
        this.organizeDepartment = organizeDepartment;
    }

    public String getBranchOffice() {
        return branchOffice;
    }

    public void setBranchOffice(String branchOffice) {
        this.branchOffice = branchOffice;
    }

    public Integer getPaymentsType() {
        return paymentsType;
    }

    public void setPaymentsType(Integer paymentsType) {
        this.paymentsType = paymentsType;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getGroupLeader() {
        return groupLeader;
    }

    public void setGroupLeader(String groupLeader) {
        this.groupLeader = groupLeader;
    }

    public Long getContractNetFee() {
        return contractNetFee;
    }

    public void setContractNetFee(Long contractNetFee) {
        this.contractNetFee = contractNetFee;
    }

    public String getCurrentHandler() {
        return currentHandler;
    }

    public void setCurrentHandler(String currentHandler) {
        this.currentHandler = currentHandler;
    }

    public String getFlowTypeCode() {
        return flowTypeCode;
    }

    public void setFlowTypeCode(String flowTypeCode) {
        this.flowTypeCode = flowTypeCode;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public String getHandlerName() {
        return handlerName;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public List<AttachmentPO> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<AttachmentPO> attachments) {
        this.attachments = attachments;
    }

    public List<FlowTask> getFlowList() {
        return flowList;
    }

    public void setFlowList(List<FlowTask> flowList) {
        this.flowList = flowList;
    }

    public Integer getAllowRevoke() {
        return allowRevoke;
    }

    public void setAllowRevoke(Integer allowRevoke) {
        this.allowRevoke = allowRevoke;
    }

    public Integer getRejectedState() {
        return rejectedState;
    }

    public void setRejectedState(Integer rejectedState) {
        this.rejectedState = rejectedState;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
}